<?php

namespace Admin\Controller;

use Zend\View\Model\ViewModel;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Helper\HeadTitle;
use Admin\Controller\MyController;
use ZfcUser\Controller\UserController as Controller;

class IndexController extends MyController
{

	public function init() {
		parent::init();
		$layout = $this->layout();
		$layout->header = array('title'=>'Accueil', 'show'=>true);
		$headtitle = new HeadTitle();
		$headtitle->append($layout->header['title']);
	}


	public function indexAction()
	{
		$this->init();
		$viewModel = new ViewModel();
		return $viewModel;
	}

}